package com.huge.simple.system.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.huge.simple.common.request.RequestParameter;
import com.huge.simple.system.entity.SysTable;
import com.huge.simple.system.mapper.SysTableMapper;
import com.huge.simple.system.service.SysTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author jihu
 * date 2022-03-29
 */
@Service("sysTableService")
public class SysTableServiceImpl implements SysTableService {

    @Autowired
    private SysTableMapper sysTableMapper;

    @Override
    public IPage<SysTable> pageList(RequestParameter<SysTable> parameter) {
        return sysTableMapper.pageList(parameter.getPage(),parameter.getFilter());
    }
}
